package com.nisum.mocksimulator.webservice;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

import com.nisum.mocksimulator.webservice.beans.CarType;

//Service Endpoint Interface
@WebService
@SOAPBinding(style = Style.RPC)
//@SOAPBinding(style = Style.DOCUMENT, use=Use.LITERAL)
public interface CarWebService {

    @WebMethod
    CarType getCar(String name, int year);

}